<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    var problem = prompt('你喜欢我吗？');
    while (problem !== '我喜欢你'){
        problem = prompt('你喜欢我吗？');
    }
    alert('哎哟，不错哦！');
</script>
<body>

</body>
</html>